<?php
$this->menu=array(
	array('label'=>'Create Assignment', 'url'=>array('create'),'icon'=>"icon-chevron-right"),
	array('label'=>'Manage Assignment', 'url'=>array('admin'),'icon'=>"icon-chevron-right"),
);?>

<?php $box = $this->beginWidget('bootstrap.widgets.TbBox', array(
	'title' => 'Mission Assignment List',
	'headerIcon' => 'icon-th-list',
	'htmlOptions' => array('class'=>'bootstrap-widget-table')
));?>

<?php $this->widget('bootstrap.widgets.TbGridView', array(
	'type'=>'bordered',
	'dataProvider'=>$dataProvider,
	'template'=>"{items}\n{pager}",
	'columns'=>array(
		'missionName',
		'volunteerName',
		'assignment_start_date',
		'assignment_end_date',
		'assignment_status',
		
		
		array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
			'template'=>'{view}',
			'buttons'=>array(
					'view'=>array('icon'=>'icon-search'),
				),
		),
	),
)); ?>
<?php $this->endWidget();?>
